import fetch from '@/api/fetch'

export function userRegistry (data) { // 注册
  return fetch({
    url: '/userHandle/userRegistry',
    method: 'post',
    data
  });
}

export function login (data) { // 登录
  return fetch({
    url: '/userHandle/login',
    method: 'post',
    data
  });
}


export function registerBaby (data) { // 儿童注册
  return fetch({
    url: '/baby/registerBaby',
    method: 'post',
    data
  });
}
